package io.qar.categories.dao;

import io.qar.commons.mybatis.dao.BaseDao;
import io.qar.categories.entity.CategoriesEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* 分类信息表
*
* @author yyyyjinying 1020066395@qq.com
* @since 3.0 2024-06-02
*/
@Mapper
public interface CategoriesDao extends BaseDao<CategoriesEntity> {

    List<CategoriesEntity> getList(Map<String, Object> params);
    List<CategoriesEntity> selectPageByName(@Param("name") String name, @Param("offset") Integer offset, @Param("pageSize") Integer pageSize);
}